import {defineStore} from "pinia";

export const useStyleStore = defineStore(
    'style',
    () => {
        const asideWidth = ref("220px")

        // 展开 / 缩放 侧边栏
        const handleAsideWidth = () => {
            asideWidth.value = asideWidth.value === "220px" ? "64px" : "220px"
        }
        return {
            asideWidth,
            handleAsideWidth
        }
    })
